package com.qf.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author sunyamei
 * @version V1.0
 * @Project mybatis_demo
 * @Package com.qf.pojo
 * @Description:
 * @Date 2022/7/7 22:11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
//学生表
public class Student  implements Serializable {

    private  Integer id;
    private  String name;

    private  String sex;

    //一对一关系
   private  Sno sno;

   //一对多关系,一个学生对应多个成绩使用list集合
   private List<Score> scoreList;

   //一个学生对应多个选课,课程表
    private  List<Course> courseList;


}
